package com.example.chatchatbackend.service.sendJob;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.chatchatbackend.entity.dto.send.SendMessage;
import com.example.chatchatbackend.entity.vo.response.SendMessageVO;
import com.example.chatchatbackend.entity.vo.response.SensitivewordsVO;

import java.time.LocalDateTime;
import java.util.List;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 丁真
 * @since 2024-10-28 05:03:47
 */
public interface SendMessageService extends IService<SendMessage> {


    List<SendMessageVO> getAll();

    IPage<SendMessage> pageThree(Integer pageNum, Integer pageSize) ;

    SendMessageVO insertSendMessage(SendMessageVO sendMessagesVO);

    List<SendMessageVO> insertSendMessageList(List<SendMessageVO> sendMessagesVOList);

    SendMessageVO updateSendMessage(SendMessageVO sendMessageVO);

    void deleteByIds(List<Integer> ids);

    List<SendMessageVO> findByIds(List<Integer> ids);

    List<SendMessageVO> findTasksToSend(LocalDateTime currentTime);

    void updateIsSend(SendMessageVO sendMessageVO);


}
